package com.shop.mapper;

import com.shop.entity.ShopProduct;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopProductMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShopProduct record);

    ShopProduct selectByPrimaryKey(Integer id);

    List<ShopProduct> selectAll();

    int updateByPrimaryKey(ShopProduct record);
}